<template>
  <div class="deliverySuccess">
    <div class="successImg">
      <img src="@/assets/font/paySuccess.png" alt="" />
    </div>
    <div class="info">提货成功</div>
    <div class="button">
      <van-button color="#F7F6FB" to="/home">返回首页</van-button>
      <van-button class="right" to="orderForm" color="#F7F6FB" type="info"
        >查看订单</van-button
      >
    </div>
  </div>
</template>

<script>
export default {
  name: 'deliverySuccess'
}
</script>

<style lang="less" scoped>
.deliverySuccess {
  position: relative;
  .successImg {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 30px;
    left: 153px;
    img {
      width: 100%;
      height: 70px;
    }
  }
  .info {
    position: absolute;
    top: 120px;
    left: 140px;
    width: 96px;
    height: 24px;
    font-size: 24px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #1f0d44;
    line-height: 24px;
  }
  .button {
    position: absolute;
    top: 204px;
    left: 72px;
    button {
      width: 108px;
      height: 40px;
      border-radius: 20px;
      span {
        width: 56px;
        height: 14px;
        font-size: 14px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #afabb7;
        line-height: 14px;
      }
    }
    .right {
      margin-left: 15px;
      span {
        width: 56px;
        height: 14px;
        font-size: 14px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #1f0d44;
        line-height: 14px;
      }
    }
  }
}
</style>
